﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{Shop_CompanyName}网站--供应产品</title>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="{PB_WebURL}ShopTemplate/{Shop_TEMPNAME}/comm.css" rel="stylesheet" type="text/css" />
<link href="{PB_WebURL}ShopTemplate/{Shop_TEMPNAME}/css/main.css" rel="stylesheet" type="text/css" />
<script src="{PB_WebURL}ShopTemplate/{Shop_TEMPNAME}/js/jquery.js" type="text/javascript"></script>
<script src="{PB_WebURL}js/Page.js" type="text/javascript"></script>
</head>
<body>
{Shop_MinoHeader}
<div class="cot">
	<ul class="nav mar_top">
		{Shop_COMPANYNAV}
	</ul>
</div>
<div class="cot">
	<p class="ban mar_top"><img alt="" src="{PB_WebURL}ShopTemplate/{Shop_TEMPNAME}/images/ad/960x160.gif" /></p>
</div>
<div class="cot">
	<div class="splt mar_top">
		<!--企业档案-->
		{Shop_企业档案}
		<!--店内搜索-->
		<div class="spnr mar_top">
			<strong>店内搜索</strong>
			<div class="spnc">
				<p>
					<input name="keyword" id="keyword" class="soint" type="text" style="width:115px;" />
					<input name="" class="soso" type="button" value="搜 索" onclick="mino()" />
				</p>
				<p class="mar_top">
				<b>关键字：</b><a title="" href="#">服装</a> <a title="" href="#">印刷品</a> <a title="" href="#">饰品</a> <a title="" href="#">家居</a> <a title="" href="#">日用品</a> <a title="" href="#">上衣</a> <a title="" href="#">连衣裙</a>	
				</p>
			</div>
		</div>
		<!--商品分类-->
		<div class="spnr mar_top">
			<strong>商品分类</strong>
			<ul class="spc1">
{Shop_minoProductType}
			</ul>
		</div>
		<!--友情链接-->
		<div class="spnr mar_top">
			<strong>友情链接</strong>
			<ul class="spc2">
{Shop_友情链接}
			</ul>
		</div>
		<!--联系我们-->
		<div class="spnr mar_top">
			<strong>联系我们</strong>
{Shop_联系我们}
		</div>
	</div>
	<div class="sprt">
		<!--精品橱窗-->
		<div class="sprk mar_top">
			<p class="sprkt">
				<strong>供应产品</strong>
				<span><a title="" class="l_999" href="javascript:void(0)" >更多&gt;&gt;</a></span>
			</p>
			{Shop_供应产品自定义分类}
			<p class="spc5" id="sprk">
				显示：<span class="spc6" id="mino1">橱窗</span> | <span id="mino2">图文</span>
			</p>
			{Shop_供应产品}
		</div>
	</div>
</div>
{shop_bottom}
</body>
<script type="text/javascript">
    jQuery(document).ready(function() {
    var type = '{Shop_显示类型}';
        jQuery("#sprk").find("span").click(function() {
            jQuery("#sprk").find("span").removeClass();
            jQuery(this).addClass("spc6");
            var snr = jQuery(this).html();
            var showtype = 1;
            if (snr == "图文") {
                showtype = 2;
            }

            if (type == 2) {
                snr = "图文";
            }
            else {
                snr = "橱窗";
            }
            if (snr == "图文") {
                jQuery("#sprk").next().removeClass().addClass("sprd2");
            } else {
                jQuery("#sprk").next().removeClass().addClass("sprd1");
            }
            window.location.href = '{PB_WebURL}Shops/Supply.aspx?Type={Shop_分类ID}&LoginName={Shop_LoginName}&showtype=' + showtype;
        });
        if (type == 1) {
            jQuery("#sprk").find("span").removeClass();
            jQuery("#sprk").next().removeClass().addClass("sprd1");
            jQuery('#mino1').addClass("spc6");
        }
        if (type == 2) {
            jQuery("#sprk").find("span").removeClass();
            jQuery("#sprk").next().removeClass().addClass("sprd2");
            jQuery('#mino2').addClass("spc6");
        }
    });
    function mino() {
        var kword = document.getElementById('keyword').value;
        var stype = '{Shop_显示类型}';
        if (kword != "") {
            window.location.href = '{PB_WebURL}Shops/Supply.aspx?Type={Shop_分类ID}&LoginName={Shop_LoginName}&showtype=' + stype + '&keyword=' + escape(kword);
        }
    }
</script>
</html>
